<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Transform</title>
  <style>
    .box {
      width: 100px;
      height: 100px;
      background: #999;
    }
    .box:hover {
      transition: all 3s ease-out;
      transform: translate(100px);
      background: red;
      width: 300px;
      height: 300px;
      border: 20px solid yellow;
      border-radius: 50%;
    }
  </style>
</head>
<body>
  <div class="box"></div>
  <script>
    
  </script>
</body>
</html>